<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\DB;

class SystemIni extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('system_ini', function (Blueprint $table) {
             $table->engine = 'MyISAM';
             $table->charset = 'utf8';
             $table->collation = 'utf8_general_ci';
            // CONTENT
            $table->increments('ini_id')->nullable(false)->comment('');
			$table->string('logo_bar', 50)->nullable()->default(null)->comment('');
			$table->string('logo_bg', 50)->nullable()->default(null)->comment('');
			$table->string('host_bar', 50)->nullable()->default(null)->comment('');
			$table->string('seach_bar', 50)->nullable()->default(null)->comment('');
			$table->string('error_bg', 50)->nullable()->default(null)->comment('');
			$table->string('topright', 50)->nullable()->default(null)->comment('');
			$table->string('copyright', 50)->nullable()->default(null)->comment('');
			$table->text('com_content')->nullable()->comment('');
			$table->string('company', 50)->nullable()->default(null)->comment('');
			$table->string('telephone', 50)->nullable()->default(null)->comment('');
			$table->string('fax', 50)->nullable()->default(null)->comment('');
			$table->string('website', 50)->nullable()->default(null)->comment('');
			$table->string('mailaddr', 50)->nullable(false)->default('')->comment('');
			
        });

        
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('system_ini');
    }
}
